CBK Objects


These are special feedback objects.
Remember, that to getting a result from these special objects you have to attach them as a Label of a text object. However, the text object with CBK label can be hidden, and then you can use it only as a dummy object to getting the result for string/integer variables in your scripts.

Audio:

CBK_Total

CBK_TotalSec

CBK_Time

CBK_TimeSec

CBK_MP3Type

CBK_MP3Bit

CBK_MP3Freq

CBK_MP3Name

CBK_Channels

CBK_ID3Song 

CBK_ID3Artist

CBK_ID3Album

CBK_ID3Year

CBK_ID3Genre

CBK_Volume MMB4.9

CBK_NumTracks MMB4.9

Video: MMB4.9.5

CBK_VName

CBK_VTotal

CBK_VTotalSec

CBK_VTime

CBK_VTimeSec

CBK_VTotalFrames

CBK_VFrame

Audio CD (some of them are common with Audio CBK):

CBK_Total

CBK_TotalSec

CBK_Time

CBK_TimeSec

CBK_MP3Name

CBK_NumTracks

 

Audio List:

CBK_CurItemList

CBK_NumInList

CBK_TotalList MMB4.9.5

CBK_TotalListSec MMB4.9.5

TIME/DATE: MMB4.9.5

CBK_TimeHMS

CBK_Time24

CBK_Hour

CBK_Minute

CBK_Second

CBK_Year

CBK_Month

CBK_MonthNum

CBK_Day

CBK_DayNum

CBK_DateNum

CBK_DateShort  

CBK_DateLong

 

OTHERS:

CBK_PageName

CBK_Error

CBK_Volume

CBK_URLpath

CBK_OpenFile

CBK_OpenDir

OBJECT TYPES OF CBK VARIABLES:

CBK_MP3EOF

If any script on the current or Master Top layer page has the label CBK_MP3EOF, the script will be executed when the current playing MP3 song ends up.

If there is no such script with this label on current page, MMB will look into Master Top Layer, if even there is no such script, the song will just end and that's all.

There could be anything in the CBK_MP3EOF script - you can put there NextPage and the MMB will go to the next page when mp3 file reach its end, you can Show some picture, you can open another MP3 songà

CBK_Menu

Use this to create a Menu group you want to hide if the user clicks away from the group (See masterpages.mbd sample).

Instead of using hotspots around the menu, make the label of the group starting with CBK_Menu.

Whenever the user clicks on the screen, all objects starting with CBK_Menu will be hidden, except the menu under the cursor.

CBK_EXIT

Use this to catch the Close button on the title bar or the Escape key.

     Note: The object or group MUST be in the Master Top layer.

Whenever the user press Escape or click on the Close button, the CBK_EXIT object will be shown and/or  the script (if any) on the MouseUp of the CBK_EXIT will be launched.

Click here to see an example.